package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.common.validatioin.annotation.Range;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class UserRechargeForm extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @IntegerString
    @Range(min = 1,max = 10000)
    private String recharge_amount;
    
    @NotBlank
    @IntegerString
    @EnumValue(enums = { "1", "2", "3" })
    private String pay_type;
    
    public String getRecharge_amount() {
        return recharge_amount;
    }
    
    public void setRecharge_amount(String recharge_amount) {
        this.recharge_amount = recharge_amount;
    }
    
    public String getPay_type() {
        return pay_type;
    }
    
    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("UserRechargeForm [recharge_amount=").append(recharge_amount).append(", pay_type=")
                .append(pay_type).append("]");
        return builder.toString();
    }
    
}
